package etxt2db.features;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;



public class CharacterTypeFeatureClassifier extends
		CharacterFeatureClassifier implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4267563350586940307L;

	@Override
	public List<String> emit(String text) {
		List<String> result = new ArrayList<String>();
		result.add("CharType=" + text.replaceAll("[A-Z]","A").replaceAll("[a-z]","a").replaceAll("[0-9]","0"));
		return result;
	}
}
